package org.qqcui.designpattern.patterns.visitor;

/**
 * 访问者具体实现类
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022/5/6 13:45
 **/
public class Success extends Action{
    @Override
    public void getMenResult(Man man) {
        System.out.println("性别：男，评价：成功");
    }

    @Override
    public void getWomenResult(Woman women) {
        System.out.println("性别：女， 评价：成功");
    }
}
